/// @file CacheItem.cpp
/// @brief unit storage of the main cache structure, that holds positions of particles

#include "CacheItem.h"

CacheItem::CacheItem
            (
                const std::vector<std::vector<ngl::Vector> > _positionList,
                const std::vector<std::string> _nameList,
                const int _frameNumber,
                const CacheItemType _cacheItemType
                )
{
    m_positionList = _positionList;
    m_nameList = _nameList;
    m_frameNumber = _frameNumber;
    m_cacheItemType = _cacheItemType;
}

CacheItem::CacheItem(const CacheItem& _cacheItem)
{
    m_positionList = _cacheItem.m_positionList;
    m_nameList = _cacheItem.m_nameList;
    m_frameNumber = _cacheItem.m_frameNumber;
    m_cacheItemType = _cacheItem.m_cacheItemType;
}
